package com.auoem.radio.common.adapter;

/**
 * @description:
 * @author: hu_mac
 * @date :   10/26/21 11:17 PM
 */

import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;

/**
 * RecyclerHolder:https://www.jianshu.com/p/fc4e0945b206
 *
 * @author gavin.xiong 2016/12/9
 */
public class RecyclerHolder<B extends ViewDataBinding> extends RecyclerView.ViewHolder {

    public final B binding;

    public RecyclerHolder(B binding) {
        super(binding.getRoot());
        this.binding = binding;
    }
}
